package org.zcl.stategy.service;

/**
 * @Package org.zcl.stategy
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/6/15 16:43
 */
public abstract class StudentGenericStrategy<T> {
    public abstract void initialize();

    public abstract void startPlay();

    public abstract void endPlay();

    public void play() {

        //初始化游戏
        initialize();

        //开始游戏
        startPlay();

        //结束游戏
        endPlay();
    }
}
